<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

if (! defined ( 'BASEPATH' ))
	exit ( 'No direct script access allowed' );

class Logout extends CI_Controller {
	function __construct() {
		log_message ( ETS_INFO, '### C:login construct' );
		parent::__construct ();
		$this->load->model ( 'Login_model' );
	}
	function index() {
		$this->load->library ( 'mysession' );
		$this->mysession->logout();
		echo 'success';
		exit ();
	}
}